.Net Framework > v2.0.50727 > System > IO > File > WriteAllLines WriteAllLines(String,String[])
WriteAllLines(String,String[],Encoding)


WriteAllLines(String,String[])

Category
Method
Description
Creates a new file, write the specified string array to the file, and then closes the file. If the target file already exists, it is overwritten.
Type
void
Character
public, static
Parameters
NameTypeDescription
pathString
contentsString[]
Tags
01892ABD01, 02E3ABA98D, 0376596F91

WriteAllLines(String,String[],Encoding)

Category
Method
Description
Creates a new file, writes the specified string array to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten.
Type
void
Character
public, static
Parameters
NameTypeDescription
pathString
contentsString[]
encodingEncoding
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database